package persistence.io;

import java.io.InputStream;

public class Resource {
    // 根据配置路径加载配置文件
    public static InputStream getResourceAsInputStream(String path){
       return Resource.class.getClassLoader().getResourceAsStream(path);
    }
}
